package main

import (
	"encoding/json"
	"fmt"
)

func main() {
	var aMap = make(map[string]interface{})
	aMap["iat"] = json.Number(1234567890)
	v := aMap["iat"]
	switch iat := v.(type) {
	case float64:
		fmt.Println("iat is float64")
	case json.Number:
		v, _ := iat.Float64()

		fmt.Println(v, "iat is json.Number")
	default:
		fmt.Println("not thing")
	}
}
